@echo The DocIcon solution reinstates the SharePoint 2007 action for document icons which is to open the
@echo document in its host application. SharePoint 2010 removed this action and so changed the user 
@echo experience significantly.

@echo Instructions: 
@echo   1. Start a command prompt as Administrator.
@ech    2. CD to the folder where this file is stored.
@echo   3. Run this command file. 

@echo The following commands will install and deploy the solution in SharePoint 2010

@echo Add solution
path=%path%;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
stsadm -o addsolution -filename wwEsp.docIcon.wsp

@echo Deploy solution
stsadm -o deploysolution -name wwEsp.docIcon.wsp -allowgacdeployment -immediate

@echo Press Enter to exit
pause